Optimal. Leaf size=81 \[ a^3 x+\frac {3}{2} a^2 b x^2+a \left (b^2+a c\right ) x^3+\frac {1}{4} b \left (b^2+6 a c\right ) x^4+\frac {3}{5} c \left (b^2+a c\right ) x^5+\frac {1}{2} b c^2 x^6+\frac {c^3 x^7}{7} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {625}
\begin {gather*} a^3 x+\frac {3}{2} a^2 b x^2+\frac {3}{5} c x^5 \left (a c+b^2\right )+\frac {1}{4} b x^4 \left (6 a c+b^2\right )+a x^3 \left (a c+b^2\right )+\frac {1}{2} b c^2 x^6+\frac {c^3 x^7}{7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 625
Rubi steps
\begin {align*} \int \left (a+b x+c x^2\right )^3 \, dx &=\int \left (a^3+3 a^2 b x+3 a b^2 \left (1+\frac {a c}{b^2}\right ) x^2+b^3 \left (1+\frac {6 a c}{b^2}\right ) x^3+3 b^2 c \left (1+\frac {a c}{b^2}\right ) x^4+3 b c^2 x^5+c^3 x^6\right ) \, dx\\ &=a^3 x+\frac {3}{2} a^2 b x^2+a \left (b^2+a c\right ) x^3+\frac {1}{4} b \left (b^2+6 a c\right ) x^4+\frac {3}{5} c \left (b^2+a c\right ) x^5+\frac {1}{2} b c^2 x^6+\frac {c^3 x^7}{7}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 81, normalized size = 1.00 \begin {gather*} a^3 x+\frac {3}{2} a^2 b x^2+a \left (b^2+a c\right ) x^3+\frac {1}{4} b \left (b^2+6 a c\right ) x^4+\frac {3}{5} c \left (b^2+a c\right ) x^5+\frac {1}{2} b c^2 x^6+\frac {c^3 x^7}{7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.76, size = 108, normalized size = 1.33
method | result | size |
norman | \(\frac {c^{3} x^{7}}{7}+\frac {b \,c^{2} x^{6}}{2}+\left (\frac {3}{5} c^{2} a +\frac {3}{5} b^{2} c \right ) x^{5}+\left (\frac {3}{2} a b c +\frac {1}{4} b^{3}\right ) x^{4}+\left (a^{2} c +a \,b^{2}\right ) x^{3}+\frac {3 a^{2} b \,x^{2}}{2}+a^{3} x\) | \(80\) |
gosper | \(\frac {1}{7} c^{3} x^{7}+\frac {1}{2} b \,c^{2} x^{6}+\frac {3}{5} a \,c^{2} x^{5}+\frac {3}{5} b^{2} c \,x^{5}+\frac {3}{2} a b c \,x^{4}+\frac {1}{4} b^{3} x^{4}+a^{2} c \,x^{3}+a \,b^{2} x^{3}+\frac {3}{2} a^{2} b \,x^{2}+a^{3} x\) | \(83\) |
risch | \(\frac {1}{7} c^{3} x^{7}+\frac {1}{2} b \,c^{2} x^{6}+\frac {3}{5} a \,c^{2} x^{5}+\frac {3}{5} b^{2} c \,x^{5}+\frac {3}{2} a b c \,x^{4}+\frac {1}{4} b^{3} x^{4}+a^{2} c \,x^{3}+a \,b^{2} x^{3}+\frac {3}{2} a^{2} b \,x^{2}+a^{3} x\) | \(83\) |
default | \(\frac {c^{3} x^{7}}{7}+\frac {b \,c^{2} x^{6}}{2}+\frac {\left (c^{2} a +2 b^{2} c +c \left (2 a c +b^{2}\right )\right ) x^{5}}{5}+\frac {\left (4 a b c +b \left (2 a c +b^{2}\right )\right ) x^{4}}{4}+\frac {\left (a \left (2 a c +b^{2}\right )+2 a \,b^{2}+a^{2} c \right ) x^{3}}{3}+\frac {3 a^{2} b \,x^{2}}{2}+a^{3} x\) | \(108\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 85, normalized size = 1.05 \begin {gather*} \frac {1}{7} \, c^{3} x^{7} + \frac {1}{2} \, b c^{2} x^{6} + \frac {3}{5} \, b^{2} c x^{5} + \frac {1}{4} \, b^{3} x^{4} + a^{3} x + \frac {1}{2} \, {\left (2 \, c x^{3} + 3 \, b x^{2}\right )} a^{2} + \frac {1}{10} \, {\left (6 \, c^{2} x^{5} + 15 \, b c x^{4} + 10 \, b^{2} x^{3}\right )} a \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.57, size = 77, normalized size = 0.95 \begin {gather*} \frac {1}{7} \, c^{3} x^{7} + \frac {1}{2} \, b c^{2} x^{6} + \frac {3}{5} \, {\left (b^{2} c + a c^{2}\right )} x^{5} + \frac {3}{2} \, a^{2} b x^{2} + \frac {1}{4} \, {\left (b^{3} + 6 \, a b c\right )} x^{4} + a^{3} x + {\left (a b^{2} + a^{2} c\right )} x^{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 85, normalized size = 1.05 \begin {gather*} a^{3} x + \frac {3 a^{2} b x^{2}}{2} + \frac {b c^{2} x^{6}}{2} + \frac {c^{3} x^{7}}{7} + x^{5} \cdot \left (\frac {3 a c^{2}}{5} + \frac {3 b^{2} c}{5}\right ) + x^{4} \cdot \left (\frac {3 a b c}{2} + \frac {b^{3}}{4}\right ) + x^{3} \left (a^{2} c + a b^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.43, size = 82, normalized size = 1.01 \begin {gather*} \frac {1}{7} \, c^{3} x^{7} + \frac {1}{2} \, b c^{2} x^{6} + \frac {3}{5} \, b^{2} c x^{5} + \frac {3}{5} \, a c^{2} x^{5} + \frac {1}{4} \, b^{3} x^{4} + \frac {3}{2} \, a b c x^{4} + a b^{2} x^{3} + a^{2} c x^{3} + \frac {3}{2} \, a^{2} b x^{2} + a^{3} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 72, normalized size = 0.89 \begin {gather*} x^4\,\left (\frac {b^3}{4}+\frac {3\,a\,c\,b}{2}\right )+a^3\,x+\frac {c^3\,x^7}{7}+\frac {3\,a^2\,b\,x^2}{2}+\frac {b\,c^2\,x^6}{2}+a\,x^3\,\left (b^2+a\,c\right )+\frac {3\,c\,x^5\,\left (b^2+a\,c\right )}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________